﻿using System.Windows;
using PocketBook.Model;
using PocketBook.Properties;

namespace PocketBook.ViewModels.Designs
{
    [DesignResources(typeof(Resources))]
    public class GridPage : Design
    {
        public GridPage()
        {
            Spacing = 10;
        }

        public double Spacing { get; set; }

        public Rect CellBounds
        {
            get { return new Rect(0, 0, Spacing, Spacing); }
        }

        public override object Clone()
        {
            var design = (GridPage)base.Clone();
            design.Spacing = Spacing;

            return design;
        }
    }
}